package com.alks.function.service.pcfactorywork;

import com.alks.entity.data.entity.PcOutListPrice;
import com.alks.entity.data.page.PageRecord;
import com.alks.entity.data.response.ResponseInfo;
import com.alks.function.data.request.chengKong.LotNoRequest;
import com.alks.function.data.request.chengKong.cost.InsertManufacturerRequest;
import com.alks.function.data.request.chengKong.cost.PcOutListPriceUpdateRequest;
import com.alks.function.data.request.factorywork.PcOutListPriceDetailRequest;
import com.alks.function.data.request.factorywork.PcOutListPriceRequest;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * <p>
 * 外发工艺单价 服务类
 * </p>
 *
 * @author ms
 * @since 2023-07-18
 */
public interface IPcOutListPriceService extends IService<PcOutListPrice> {

    ResponseInfo<PageRecord> listPcOutPirce(PcOutListPriceRequest request);

    ResponseInfo listPcOutPirceDetail(PcOutListPriceDetailRequest request);

    ResponseInfo listPcOutVendor(String vendor, String process);

    ResponseInfo listOutDetailCheck(List<PcOutListPriceDetailRequest> request, Integer flag);

    ResponseInfo OutsourcingProcessInquiry(PcOutListPriceRequest request);

    ResponseInfo TakeInstructionsForOutsourcingProjects(LotNoRequest request);

    ResponseInfo TakeProcessOutsourcingProjects(LotNoRequest request);

    ResponseInfo InsertManufacturer(List<InsertManufacturerRequest> request);

    ResponseInfo ProcessDeletion(Integer id);

    ResponseInfo CheckTheBoxToCheckTheRecord(List<InsertManufacturerRequest> request, Integer choose);

    ResponseInfo ModificationOfOutsourcingUnitPrice(PcOutListPriceUpdateRequest request);

    void PcOutListPriceExport(PcOutListPriceRequest request, HttpServletResponse response);
}
